<#include "/macro_.ftl">
package ${packageCode}.${moduleMapperCode}.service;

import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.transaction.annotation.Transactional;
import top.cardone.context.annotation.Event;
import top.cardone.context.annotation.Events;
import top.cardone.context.event.SimpleErrorEvent;
import top.cardone.context.event.SimpleEvent;
import top.cardone.data.service.PageService;

import java.util.List;
import java.util.Map;

/**
 * ${businessName}服务
 *
 * @author ${author!'yao hai tao'}
 */
@Transactional(readOnly = true)
@CacheConfig(cacheNames = {"${packageCode}.${moduleMapperCode}.service.${businessCode}Service"})
@Events({@Event(applicationEvent = SimpleErrorEvent.class),
        @Event(applicationEvent = SimpleEvent.class)})
public interface ${businessCode}Service extends PageService {
}